package com.thermal.thermal_inspection.service;

import com.thermal.thermal_inspection.entity.NfcManage;

import java.util.List;

public interface NfcService {
    /**
     * 新建NFC信息
     */
    public Integer newNFCManage(NfcManage nfcManage) throws Exception;
    /**
     * 通过NFC姓名查询NFC信息
     */
    public NfcManage getNfcManageByNfcName(String nfcName);
    /**
     * 通过NFC数据查询NFC信息
     */
    public NfcManage getNfcManageByNfcMsg(String nfcMsg);
    /**
     * 获取NFC所有信息
     */
    public List<NfcManage> getAllNfcManages();
    /**
     * 修改NFC信息
     */
    public Integer updateNfcManage(NfcManage nfcManage);
    /**
     * 删除NFC信息
     */
    public Integer deleteNfcManage(String nfcMsg);
    /**
     * NFC名字是否重复
     */
    public boolean isRepeatOfName(String nfcName);
    /**
     * NFC是否正在被使用
     */
    public String isUseNFC(String nfcMsg);
}
